package com.aceitunaproject.shared.message.concrete;

import java.util.List;

import com.aceitunaproject.shared.map.MapTile;

/**
 * Message with a map refresh, from the server to the Client
 * 
 * @author Federico Bergstein
 *
 */

public class MapAreaRefreshEvent extends BaseMessage {

	public static final String TYPE = "MapAreaRefreshEvent";

	private static final long serialVersionUID = 5688992233695985702L;

	public MapAreaRefreshEvent() {
		super(TYPE);
	}

	List<MapTile> areaTiles;

	/**
	 * @return the area of the map to refresh
	 */
	public List<MapTile> getAreaTiles() {
		return areaTiles;
	}

	/**
	 * @param areaTiles of the map to refresh
	 */
	public void setAreaTiles(List<MapTile> areaTiles) {
		this.areaTiles = areaTiles;
	}
}
